package com.meta.platform.file.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meta.platform.file.model.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 文件service 目前仅支持阿里云oss,七牛云
*/
public interface IFileService extends IService<FileInfo> {

	FileInfo upload(MultipartFile file );

	FileInfo upload(byte[] file, String fileName);

	List<FileInfo> findFilesByIds(List<String> ids);

//	PageResult<FileInfo> findList(Map<String, Object> params);
}
